#!/bin/bash

CONF=$1
grep '^.*=[my]' ${CONF} | awk -F '=' 'BEGIN {printf "CompileFlags:\n  Add: ["} {printf "-D%s, ", $1} END { printf "]\n"}' | sed 's/, ]$/]/'

